import React, {Component} from 'react';
import Swiper from 'swiper';
import 'whatwg-fetch';
import './style.scss';


export default class Swipers extends Component {
  constructor(props) {
    super(props);
    const that = this;
  }

  componentDidMount() {
    const that = this;
    const swiper = new Swiper('.swiper-container', {
      autoplay: true,
    });

  }

  render() {
    const that = this;
    return (
      <div class="swiper-container">
        <div class="swiper-wrapper">
          <div class="swiper-slide">slider1</div>
          <div class="swiper-slide">slider2</div>
          <div class="swiper-slide">slider3</div>
        </div>
      </div>
    );
  };
}